import { PSSysDynaModelImpl } from './pssys-dyna-model-impl';
import { IPSOpenAPI3Schema } from '../service/openapi/ipsopen-api3-schema';

export class PSOpenAPI3SchemaImpl extends PSSysDynaModelImpl implements IPSOpenAPI3Schema {
  get description(): string {
    return this.M.description;
  }

  get cls(): string {
    return 'PSOpenAPI3SchemaImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'dynamodel.IPSJsonNode' || cls == 'dynamodel.IPSJsonNodeOwner' || cls == 'service.openapi.IPSOpenAPI3Object' || cls == 'service.openapi.IPSOpenAPI3Schema') return true;
    return super.instanceof(cls);
  }
}
